<template>
	<view class="user-list u-f-ac animate ">
		<image :src="item.userpic"></image>
	
		<view>
			<view>{{item.username}}</view>
			<view style="display: inline-block;">
				<tag-sex-age :age="item.age" :sex="item.sex"></tag-sex-age>
			</view>
	
		</view>
		<!-- <view class="icon iconfont icon-jia u-f-ac" ></view> -->
		<view class="icon iconfont u-f-ac" :class="[item.isguanzhu?'icon-shaojiu':' icon-jia']"></view>
	</view>
</template>

<script>
	import tagSexAge from '../../components/common/tag-sex-age.vue';
	export default {
		components:{
			tagSexAge
		},
		props:{
			item:Object,
			index:Number
		}
	}
</script>

<style scoped>
	.user-list {
		padding: 20upx 0;
		border-bottom: 1upx solid #EEEEEE;
	}
	
	.user-list>image {
		width: 100upx;
		height: 100upx;
		border-radius: 100%;
		margin-right: 20upx;
		flex-shrink: 0;
	}
	
	.user-list>view:first-of-type {
		flex: 1;
	}
	
	.user-list>view:first-of-type>view:first-child {
		font-size: 30upx;
	
	}
	
	.user-list>view:last-of-type {
		width: 80upx;
		color: #CCCCCC;
		margin-left: 450upx;
	}
	
	.icon-jia {
		color: #f8791b !important;
	}
</style>
